<template>
  <a-drawer
    maskClosable
    closable
    :maskStyle="{'background-color':'rgba(0, 0, 0, 0)'}"
    placement="right"
    width="300"
    :visible="show"
    @close="close"
  >
    
  </a-drawer>
</template>

<script>
export default {
  name:"drawer",
  props:{
    show:{
      type:Boolean,
      default:false
    },
    attr:{
      type:Array,
      default:[]
    }
  },
  data() {
    return {
    }
  },
  methods: {
    close(){
      console.log("close",this.show)
      this.$emit("close")
    }
  },
}
</script>

<style scoped>
  
</style>